package com.o2opuzi.ms.model.sys;

import java.util.Date;

import com.o2opuzi.lib.db.Model;
import com.o2opuzi.lib.db.Tb;

/**
 * 媒体文件
 * @author Y.hj
 * @date 2016年6月1日
 */
@Tb(name="sys_media")
public class SysMedia extends Model<SysMedia, Integer>{
	
	private static final long serialVersionUID = -5234750908846447981L;
	
	/**
	 * 主键id
	 */
	private Integer id;
	
	/**
	 * 文件类型
	 */
	private String type;
	
	/**
	 * 所属的用户
	 */
	private Integer user_id;
	
	/**
	 * 文件路径
	 */
	private String filepath;
	
	/**
	 * 文件路径类型
	 */
	private String filepath_type;
	
	/**
	 * 创建时间
	 */
	private Date createdate;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public String getFilepath() {
		return filepath;
	}

	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}

	public String getFilepath_type() {
		return filepath_type;
	}

	public void setFilepath_type(String filepath_type) {
		this.filepath_type = filepath_type;
	}
	
	
	
	
}
